﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MediaGarden.Pipeline;

namespace MediaGarden.Videos.Viewers
{
    /// <summary>
    /// Windows media files playback
    /// </summary>
    public class WindowsMediaViewer : IMediaViewer
    {
        public string ViewerName
        {
            get { return "WindowsMedia"; }
        }

        public string ViewerDescription
        {
            get { return "Allows playback of wmv and avi files using the Windows Media Player plugin"; }
        }

        public IEnumerable<string> SupportedMediaFormats()
        {
            return new[]{
                "Wmv"
            };
        }

        public int ViewerPriority(MediaViewerContext context)
        {
            return 15;
        }
    }
}